using System.Collections;

namespace BearGame.Singleton
{
    /// <summary>
    /// 方便一点的写法
    /// </summary>
    public class AbstructSingleton : ISingleton
    {
        public virtual IEnumerator AsyncInit()
        {
            yield return null;
        }

        public virtual void Init() { }

        public virtual void OnCancel() { }

        public virtual void OnRegister() { }
    }
}